package com.sunny.dataobject;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;

/**
 * Created by dell on 2018/3/29.
 */
@Entity
@Data
public class ProductInfo {
    @Id
    private String productId;//商品id
    private String productName;//名字
    private BigDecimal productPrice;//单价
    private Integer productStock;//商品库存
    private String productDescription;//商品描述
    private String productIcon;//商品小图
    private Integer  productStatus;//商品状态，0正常，1下架
    private Integer categoryType;//类目编号


}
